package com.example.zhuyu.login.module.api;

import com.example.zhuyu.basemvp.http.BaseResponse;
import com.example.zhuyu.login.module.mvp.entity.response.LoginResponse;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

/**
 * @author zhuyu
 * @date 2019/2/20
 * @desc
 */
public interface LoginApi {

    @GET("login")
    Observable<BaseResponse<LoginResponse>> login(@QueryMap Map<String,String> map);
}
